<?php
class AboutModel extends Model {
	public function getList(){
		$list = $this->where(array('status'=>1))->field('id,name')->select();
		foreach($list as $key=>$val){
			$list[$key]['url'] = setViewUrl('About', $val);
		}
		return $list;
	}
}